package com.ruoyi.app.domain.co.user;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class CoForgotPassword {
    /**
     * 用户名
     */
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "用户名", required = true)
    private String mobile;

    /**
     * 用户密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", required = true)
    private String code;
}
